From 7909197234e36c0cc0680c81bc2f77372997634f Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 15 Jun 2007 09:15:28 +0100 Subject: [PATCH] ES7000: Fix ES7000-specific APIC code. Signed-off-by: Raj Subrahmanian --- xen/arch/x86/genapic/es7000plat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/genapic/es7000plat.c b/xen/arch/x86/genapic/es7000plat.c index 56752061c7..f1fd851ba3 100644 --- a/xen/arch/x86/genapic/es7000plat.c +++ b/xen/arch/x86/genapic/es7000plat.c @@ -299,12 +299,12 @@ es7000_stop_cpu(int cpu) void __init es7000_sw_apic() { - if (es7000_plat) { + if (es7000_plat && (es7000_plat != ES7000_ZORRO)) { int mip_status; struct mip_reg es7000_mip_reg; printk("ES7000: Enabling APIC mode.\n"); - memset(&es7000_mip_reg, 0, sizeof(struct mip_reg)); + memset(&es7000_mip_reg, 0, sizeof(struct mip_reg)); es7000_mip_reg.off_0 = MIP_SW_APIC; es7000_mip_reg.off_38 = (MIP_VALID); while ((mip_status = es7000_mip_write(&es7000_mip_reg)) != 0) -- 2.30.2